import styles from './index.module.less'
import IconSvg from '@/components/IconSvg'

interface CardVarable {
  text: string
  style?: any
}

export default ({ text, style }: CardVarable) => (
  <div className={styles.title} style={style}>
    <div className={styles.round}>
      <IconSvg name='purple' />
    </div>
    <div>{text}</div>
  </div>
)
